﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NextAction.Domain.Concrete
{
    public static class ScheduleHelper
    {
        public static DateTime? ScheduleFilterToDate(ScheduleFilter schedule)
        {
            switch (schedule)
            {
                case ScheduleFilter.Today:
                    return DateTime.Today;
                case ScheduleFilter.Tomorrow:
                    return DateTime.Today.AddDays(1);
                default:
                    return null;

            }
        }
    }
}
